<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/prama.jsp" %>
<script type="text/javascript" src="${burl }/js/business/manager/todo.js"></script>
<div class="CommonPanel" id="todo_search_div">
	<table>
		<tr>
			<td class="label">待办类型：</td>
			<td class="input">
				<select name="todoType" id="todo_type">
					<option value="">--请选择--</option>
				</select>
			</td>
			<td class="label">完成状态：</td>
			<td class="input">
				<select name="isfinish" id="isfinish">
					<option value="">--请选择--</option>
					<option value="0">未完成</option>
					<option value="1">已完成</option>
				</select>
			</td>
			<td class="label">紧急程度：</td>
			<td class="input">
				<select name="level" id="level">
					<option value="">--请选择--</option>
					<option value="0">低</option>
					<option value="1">中</option>
					<option value="2">高</option>
				</select>
			</td>
		</tr>
		<tr>
			<td class="label">标题：</td>
			<td class="input"><input name="title"/></td>
			<td class="label">编号：</td>
			<td class="input"><input name="code"/></td>
			<td class="label">发送人：</td>
			<td class="input"><input name="sendUser"/></td>
			<td class="label">执行人：</td>
			<td class="input"><input name="todoUser"/></td>
		</tr>
		<tr>
			<td class="label">发送时间：</td>
			<td class="input" colspan="3">
				<input tag="date" name="sendStart" />~
				<input tag="date" name="sendStop" />
			</td>
			<td class="label">结束时间：</td>
			<td class="input" colspan="3">
				<input tag="date" name="start" />~
				<input tag="date" name="stop" />
			</td>
			<td class="label">
				<button id="todoSearchBtn">查询</button>
				<button id="downloadBtn">导出</button>
			</td>
		</tr>
	</table>
</div>
<div style="margin-bottom: 10px">
	<span style="font-size: 13px;font-weight: bold;color: rgb(119, 108, 108);">图例：</span>
	<span style="padding: 2px;background-color: rgb(170, 239, 136);border:0px" tag="finish_intime" class="commonBtn">&nbsp;</span><span style="font-size: 13px;color: rgb(68, 65, 65)">按时完成</span>&nbsp;
	<span style="padding: 2px;background-color:rgb(228, 190, 217);border:0px" tag="finish_outtime" class="commonBtn">&nbsp;</span><span style="font-size: 13px;color: rgb(68, 65, 65)">超时完成</span>&nbsp;
	<span style="padding: 2px;background-color:rgb(169, 170, 231);border:0px" tag="unfinish" class="commonBtn">&nbsp;</span><span style="font-size: 13px;color: rgb(68, 65, 65)">任务进行中</span>&nbsp;
	<span style="padding: 2px;background-color:rgb(232, 75, 93);border:0px" tag="unfinish_outtime" class="commonBtn">&nbsp;</span><span style="font-size: 13px;color: rgb(68, 65, 65)">超时未完成</span>&nbsp;
	<span style="padding: 2px;background-color:rgb(128, 128, 128);border:0px" tag="close_todo" class="commonBtn">&nbsp;</span><span style="font-size: 13px;color: rgb(68, 65, 65)">已关闭</span>&nbsp;
</div>
<div id="user_count" style="color: #FFF;background-color: #79BBE0;line-height: 30px;font-weight: bold;padding-left: 11px;">
	<a style="display:none" class="commonBtn" href="${burl }/view/manager/main.jsp?action=/Todo/SendOrder.do">发送待办</a>
</div>
<div id="grid1"></div>